package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Clue;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * 郭俊才
 * 2021/8/27
 */
public interface ClueService {
    //添加线索
    int saveSelective(Clue clue);
    //删除线索
    int removeList(String[] ids);
    //有选择的修改线索
    int editByPrimaryKeySelective(Clue clue);
    //根据主键查询
    Clue queryByPrimaryKey(String id);
    //根据主键查询详情
    Clue queryByPrimaryKeyForDetails(String id);
    //有条件的查询
    PageInfo<Clue> queryByConditions(Clue clue,Integer pageNum,Integer pageSize);
    //将线索转换为联系人和客户
    int saveConvertClue(Map<String,Object> map);
}
